package com.liangzi.service_core.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 预约历史记录表
 * </p>
 *
 * @author zhj
 * @since 2021-12-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="VisitBookingHistory对象", description="预约历史记录表")
public class VisitBookingHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "预约历史记录表ID")
      @TableId(value = "booking_history_id")
    private String bookingHistoryId;


    @ApiModelProperty(value = "预约ID")
    private String visitBookingId;

    @ApiModelProperty(value = "患者ID")
    private String patientId;

    @ApiModelProperty(value = "就诊卡ID")
    private String medicalCardId;

    @ApiModelProperty(value = "医生ID")
    private String doctorId;

    @ApiModelProperty(value = "医生排班id")
    private String innerDoctorWorkId;

    @ApiModelProperty(value = "是否已预约 1 已预约 0 爽约")
//    @TableField("is_booking")
    private Integer bookingStatus;


    @ApiModelProperty(value = "预约时间")
    private String bookingDate;

    @ApiModelProperty(value = "预约人姓名")
    private String  bookingName;

    @ApiModelProperty(value = "预约人联系方式")
    private String bookingPhone;
    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "备注信息")
    private String remark;
}
